package com.chinacoal.microservice.impl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.model.QueryUtaskCatAttrMapParam;
import com.chinacoal.microservice.api.model.entity.UtaskCatAttrMapEntity;

public interface UtaskCatAttrMapMapper extends BaseMapper<UtaskCatAttrMapEntity> {
	
	public List<UtaskCatAttrMapEntity> findList(Page<UtaskCatAttrMapEntity> utaskCatAttrMapPage, QueryUtaskCatAttrMapParam param) throws Exception;
	
	public List<UtaskCatAttrMapEntity> getCatAttrMap(@Param("sysId") String sysId, 
											   @Param("catId") String catId, 
											   @Param("attrId") String attrId) throws Exception;
	
	public Integer getCatAttrMapCount(@Param("sysId") String sysId, 
									  @Param("catId") String catId, 
									  @Param("attrId") String attrId) throws Exception;	
}
